package com.xy.user.persistence;


import com.xy.user.base.persistence.BaseMapper;
import com.xy.user.domain.Xyuserrole;

import java.util.List;

/**
* 用户角色关联
* Created by 汤伟杰 on 2017/5/23.
 */
//@Repository
public interface XyuserroleMapper extends BaseMapper<Xyuserrole> {

    List<Xyuserrole> queryByRoleId(String roleId);

    List<Xyuserrole> queryByUserId(String userId);
}
